<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
$return['account']=$_SESSION['account'];
$return['extradata']=array();
if($_RQ['op']=='get'){
	$params=array();
	$params['hide']=0;
	if(!$_SESSION['isfounder']){
		$params['name']=explode(';',trim($_SESSION['user']['plugin_actions'],';'));
	}
	$types=get_plugin_types();
	$list = pdo_getall('core_plugins',$params,array('id','type','name','title','ability','version'),'id');
	$return['list']=$list;
	$return['types']=$types;
	set_html('title','扩展功能');
	exi($return);
}
?>